Discover openoffice word processor, include the articles, news, trends, analysis and practical advice about openoffice word processor on alibabacloud.com
Java converts word to PDF with OpenOfficeFirst, Software Installation and Jar Package DownloadThe official website is as follows (English):OpenOffice http://www.openoffice.org/Jodconverter http://sourceforge.net/projects/jodconverter/files/JODConverter/You can also Baidu to search, on the csdn above can also download to the required package.jodconverter:http://download.csdn.net/download/yali1990515/4443791A
The main function of Baidu Library is to upload the Word document, transcoding into PDF format and then show it. There are four ways to do this:method One: Use Apache Pio to read the doc file, and then convert the HTML file into a jsoup format HTML file, and finally use Itext to convert the HTML file into PDF. Method 2: Use Jdoctopdf to implement, this is a package good package, you can convert the doc to pdf,html,xml and other formats, call very conv
(docconverter.java:206)Java.lang.NullPointerExceptionAt Com.artofsolving.jodconverter.openoffice.connection.AbstractOpenOfficeConnection.disconnect ( ABSTRACTOPENOFFICECONNECTION.JAVA:88)At COM.YGSOFT.EAM.DEMO.DOCCONVERTER.WORDTOPDF (docconverter.java:72)At Com.ygsoft.eam.demo.DocConverter.conver (docconverter.java:156)At Com.ygsoft.eam.demo.DocConverter.main (docconverter.java:206)Cause: The newly installed OpenOffice has not been registered, and wh
()) { A return-1;//source file not found, return-1 + } the - //If the destination path does not exist, the path is created $File OutputFile =NewFile (destfile); the if(!Outputfile.getparentfile (). exists ()) { the outputfile.getparentfile (). Mkdirs (); the } the - //Connect to a OpenOffice.org instance running on port 8100 inOpenofficeconnection connection =NewSocketopenofficeconnection ( t
From: http://hi.baidu.com/trstones/blog/item/7fca145426436c57d0090663.html
There is no simple way to convert word to html in java. The openOffice implementation should be regarded as "Pull the big ones in the cookbook ".
1. First download openOffice. This is a third-party open-source project dedicated to writing similar word
PHP calls OpenOffice to convert word to PDF. openofficepdf
Recently, I have been studying PHP Word documents to convert to PDF files, and I have searched many similar documents on the Internet, most of which are converted through OpenOffice.
The core code is as follows:
Function MakePropertyValue ($ name, $ value, $ os
I've been studying PHP Word documents for PDF, and I've searched the web for a lot of similar data, most of which are converted by OpenOffice. The core code is as follows: function Makepropertyvalue ($name, $value, $osm) {$oStruct = $osm->bridge_getstruct (" Com.sun.star.beans.PropertyValue "); $oStruct->name = $name; $oStruct->value = $value; return $oStruct; }function Word2pdf ($doc _url, $outpu
Displays the line number, which, when set, displays the line number of the row in the prefix of each row: Set Nonu is the opposite of Set Nu, the line number is canceled! Block Selection (Visual block)Key meanings of block selectionV character selection, the cursor will pass through the place of the white selection!V-line selection, the line of the cursor will be reversed white selection![Ctrl]+v block selection, you can select the data in a rectangular wayY Copy the anti-white place.D Remove
▲ VI three types of processing modesGeneral Mode ???? move the cursor, delete a single whole line of words, copy and paste ( ESC )edit Mode ???? Input characters ( i o a r )instruction Mode ???? Read storage file, search replace function ( : / ? )▲ common commands in instruction modeSet nu???????? Show Line Numbersset Nonu???? Cancel Line number: w???????? write the edited data to the drive file: Q???????? Leave VI: Wq???????? Save after leaving: x???????? Save and launchu???????? Restore the pr
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.